]> dgit.raspbian.org Git - gnome-shell.git/commit
texture-cache: Fix invalid reads when storing used resource scales
authorSebastian Keller <skeller@gnome.org>
Mon, 3 Feb 2020 00:06:14 +0000 (01:06 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 6 Feb 2020 19:47:24 +0000 (19:47 +0000)
commit7287ee365103909c4c3e540a3f7958957f601435
tree9ffee6420b2b293b17ccb51a95927310115c098a
parent9d7a319721e9acf37d573d665602f860b2bfbd41
texture-cache: Fix invalid reads when storing used resource scales

The used_scales hash table uses g_double_hash and g_double_equal which
try to read a double from the passed pointers. The pointers however were
pointing to a float, leading to an invalid read.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/974
src/st/st-texture-cache.c